/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

public class ChiTietKhuyenMai {
    public ChiTietKhuyenMai(){
        giam_gia = 0;
        ma_hang_mua ="";
        ma_hang_km ="";
        mhm_id = -1;
        mht_id = -1;
        this.soLuongMua = 0;
        this.soLuongTang = 0;
    }
    private String ten_san_pham;
    public void setTenSanPham(String ten_sp){
        this.ten_san_pham = ten_sp;
    }
    public String getTenSanPham(){
        return this.ten_san_pham;
    }
    
    private String ma_hang_mua;
    private int km_id;
    public void setKMId(int km_id){
        this.km_id = km_id;
    }
    public int getKmId(){
        return this.km_id;
    }
    private long mhm_id;
    public void setMhmId(long mhm_id){
        this.mhm_id = mhm_id;
    }
    public long getMhmId(){
        return this.mhm_id;
    }
    private long mht_id;
    public void setMhtId(long mht_id){
        this.mht_id = mht_id;
    }
    public long getMhtId(){
        return this.mht_id;
    }
    
    public void setMaHangMua(String ma_hang_mua){
        this.ma_hang_mua = ma_hang_mua;
    }
    public String getMaHangMua(){
        return this.ma_hang_mua;
    }
    private String ma_hang_km;
     public void setMaHangTang(String ma_hang_km){
        this.ma_hang_km = ma_hang_km;
    }
    public String getMaHangTang(){
        return this.ma_hang_km;
    }
    private double  giam_gia = 0;
    public void setGiamGia(Double giam_gia){
        this.giam_gia = giam_gia;
    }
    public double getGiamgia(){
        return this.giam_gia;
    }
    private int soLuongMua;
    public void setSoLuongMua(int slm){
        this.soLuongMua = slm;
    }
    public int getSoLuongMua(){
        return this.soLuongMua;
    }
    private int soLuongTang;
    public void setSoLuongTang(int slt){
        this.soLuongTang = slt;
    }
    
    public int getSoLuongTang(){
        return this.soLuongTang;
    }
    
}
